package com.siyuanren.gcocp.mapper.base;

import com.siyuanren.gcocp.entity.WxUserFavorite;
import com.siyuanren.gcocp.entity.WxUserFavoriteExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WxUserFavoriteMapper {
    long countByExample(WxUserFavoriteExample example);

    int deleteByExample(WxUserFavoriteExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxUserFavorite record);

    int insertSelective(WxUserFavorite record);

    List<WxUserFavorite> selectByExample(WxUserFavoriteExample example);

    WxUserFavorite selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxUserFavorite record, @Param("example") WxUserFavoriteExample example);

    int updateByExample(@Param("record") WxUserFavorite record, @Param("example") WxUserFavoriteExample example);

    int updateByPrimaryKeySelective(WxUserFavorite record);

    int updateByPrimaryKey(WxUserFavorite record);
}